#example6_16_multi_hlines_vlines.py
#coding=utf-8
import matplotlib.pyplot as plt
plt.rcParams['font.size']=15  #改变默认字体大小
plt.hlines([-0.5,0.5],-1,2,colors=["red","green"],
               linestyles=["dashed","dotted"])
plt.vlines([0.5,1],-1,2,colors=["blue","cyan"],
               linestyles=["dashdot","solid"])
plt.show()
